package dancetiktokenumsmongo

const (
	SoulMateStatusDefault = 0 //默认模式
	SoulMateStatusCreate  = 1 //创建
	SoulMateStatusCancel  = 2 //取消
)

type DanceRoomModelSoulMateEnums struct {
}

var DanceRoomModelSoulMateEnumsObject DanceRoomModelSoulMateEnums

func (e DanceRoomModelSoulMateEnums) SoulMateStatus() []int {
	return []int{
		SoulMateStatusDefault,
		SoulMateStatusCreate,
		SoulMateStatusCancel,
	}
}

func (e DanceRoomModelSoulMateEnums) BSoulMateStatusMap() map[int]int {
	m := make(map[int]int)
	for _, s := range e.SoulMateStatus() {
		m[s] = s
	}
	return m
}

func (e DanceRoomModelSoulMateEnums) SoulMateStatusTypeString(tag int) string {
	switch tag {
	case SoulMateStatusDefault:
		return "默认" //对战模式 （默认模式）
	case SoulMateStatusCreate:
		return "知己" //休闲模式（组合模式）
	case SoulMateStatusCancel:
		return "取消知己" //结婚模式
	default:
		return "未知"
	}
}
